import React from "react";
import RouterView from "../components/RouterView";
import SiderBar from "./siderBar.js";
import "./basicLayout.css";

const BasicLayout = props => {
  return (
    <div className="container">
      <div className="left">
        <SiderBar {...props} routes={props.routes} />
      </div>
      <div className="right">
        <RouterView {...props} routes={props.routes} />
      </div>
    </div>
  );
};
export default BasicLayout;
